﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OrderList.ascx.cs" Inherits="BuXiaChu.OrderDishes.Web.CallCenter.Modules.OrderList" %>
<table>
    <tr>
        <td>
            订单编号
        </td>
        <td>
            当前状态
        </td>
        <td>
            餐厅
        </td>
        <td>
            送餐地址
        </td>
        <td>
            订餐电话
        </td>
        <td>
            订餐时间
        </td>
        <td>
            要餐时间
        </td>
    </tr>
    <% foreach (var item in pageDataList)
       {%>
    <tr>
        <td>
            <%= item.OrderCode %>
        </td>
        <td>
            <%=item.Status %>
        </td>
        <td>
            <%= HttpUtility.HtmlEncode(GetRestaurantName(item.OrderCode))%>
        </td>
        <td>
            <%= HttpUtility.HtmlEncode(item.Address)%>
        </td>
        <td>
            <%= item.MobileTelephone %>
        </td>
        <td>
            <%= item.OrderTime %>
        </td>
        <td>
            <%= item.LatestTime %>
        </td>
    </tr>
    <%} %>
</table>
